package com.jackrain.nea.ext.permission;

import com.google.common.base.Objects;
import lombok.Data;

/**
 * @Author yangxy
 * @Date Create in 8:49 2017-12-22
 * @Description:
 * @Modified by:
 */
@Data
public class BrandEntity {

    private String ecode;

    private Long brandId;

    private String isRead;

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        BrandEntity c = (BrandEntity) o;
        return Objects.equal(brandId, c.brandId);
    }


    @Override
    public int hashCode() {
        return Objects.hashCode(brandId);
    }
}
